home *** CD-ROM | disk | FTP | other *** search
- package javax.swing.text.html;
-
- import javax.swing.text.MutableAttributeSet;
- import javax.swing.text.html.HTML.Attribute;
- import javax.swing.text.html.HTMLDocument.HTMLReader;
-
- class HTMLDocument$HTMLReader$MetaAction extends HTMLDocument.HTMLReader.HiddenAction {
- // $FF: synthetic field
- private final HTMLDocument.HTMLReader this$1;
-
- HTMLDocument$HTMLReader$MetaAction(HTMLDocument.HTMLReader var1) {
- super(var1);
- this.this$1 = var1;
- }
-
- boolean isEmpty(HTML.Tag var1) {
- return true;
- }
-
- public void start(HTML.Tag var1, MutableAttributeSet var2) {
- Object var3 = var2.getAttribute(Attribute.HTTPEQUIV);
- if (var3 != null) {
- String var5 = ((String)var3).toLowerCase();
- if (var5.equals("content-style-type")) {
- String var4 = (String)var2.getAttribute(Attribute.CONTENT);
- HTMLReader.access$0(this.this$1).setDefaultStyleSheetType(var4);
- this.this$1.isStyleCSS = "text/css".equals(HTMLReader.access$0(this.this$1).getDefaultStyleSheetType());
- } else if (var5.equals("default-style")) {
- this.this$1.defaultStyle = (String)var2.getAttribute(Attribute.CONTENT);
- }
- }
-
- super.start(var1, var2);
- }
- }
-